from flask_httpauth import HTTPTokenAuth
from flask_sqlalchemy import SQLAlchemy
from flask_mail import Mail
from flask_apscheduler import APScheduler

scheduler = APScheduler()
db = SQLAlchemy(use_native_unicode='utf8')
auth = HTTPTokenAuth()
# 登录校验
_isLogin = auth.login_required

mail = Mail()
